
<volist name="list" id="weibo">
    {:W('WeiboDetail/detail',array('weibo'=>$weibo))}

</volist>


<script>
    ucard();
    bindSupport();
    bind_weibo_managment();
    lastId = '{$lastId}';

    function bind_weibo_popup(){
        $('.popup-gallery').each(function () { // the containers for all your galleries
            $(this).magnificPopup({
                delegate: 'a',
                type: 'image',
                tLoading: '正在载入 #%curr%...',
                mainClass: 'mfp-img-mobile',
                gallery: {
                    enabled: true,
                    navigateByImgClick: true,
                    preload: [0, 1] // Will preload 0 - before current, and 1 after the current image

                },
                image: {
                    tError: '<a href="%url%">图片 #%curr%</a> 无法被载入.',
                    titleSrc: function (item) {
                        /*           return item.el.attr('title') + '<small>by Marsel Van Oosten</small>';*/
                        return '';
                    },
                    verticalFit: false
                }
            });
        });
    }

    $(document).ready(function () {
bind_weibo_popup();



    });




</script>